package com.xiaoyu.izf.service;

import com.xiaoyu.izf.model.UserInfo;
import com.xiaoyu.izf.repository.UserInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {

    @Autowired
    private UserInfoDao userInfoDao;

    public UserInfo findByUserName(String userName){
        return userInfoDao.findByUserName(userName);
    }
}
